aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenFieldLoadTests]/[method:canGenerateCodeForStructFieldLoad(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
blob: 19e02078837d488981083042ba2766273f0e350a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Compilation unit elements:


Locals:
 * (val "tmp__id__0" int)
 * (val "structValuePointer__0" data-ptr)

Instructions:

(
    (int-to-data-ptr (local "structValuePointer__0") (local "b"))
    (
        memory-load
        (local "tmp__id__0")
        pointer=(local "structValuePointer__0")
        layout=(struct ((struct (data-ptr int int int)) (struct (int (struct (int int int))))))
        offset=(1 1 1)
    )
)

Temporary stack:
 * PatioLocalRef[name=tmp__id__0]
 * PatioLocalRef[name=a]